package xiao.ze.demo.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xiao.ze.demo.entity.User;


/**
 * UserMapper
 *
 * @author xiaoze
 * @date 2018/6/3
 */

@Mapper
public interface UserMapper {
    public User userLogin(@Param("name") String name, @Param("pwd") String pwd);

    User selUserNo(String no);//通过用户编号查找用户

    int userRegister(User user);//注册


}
